package com.wocai.jrt.orgadmin.enterprise.service.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.wocai.jrt.orgadmin.enterprise.dao.FinancialReportDao;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialReport;
import com.wocai.jrt.orgadmin.enterprise.model.FinancialReportBean;
import com.wocai.jrt.orgadmin.enterprise.service.spi.FinancialReportService;

import com.vteba.service.generic.impl.MyBatisServiceImpl;
import com.vteba.tx.jdbc.mybatis.spi.BaseDao;

/**
 * 财务报表相关的service业务实现。
 * @author yinlei
 * @date 2016-5-6 14:22:15
 */
@Named
public class FinancialReportServiceImpl extends MyBatisServiceImpl<FinancialReport, FinancialReportBean, String> implements FinancialReportService {
	// 添加了方法后，记得改为private
	protected FinancialReportDao financialReportDao;
	
	@Override
	@Inject
	public void setBaseDao(BaseDao<FinancialReport, FinancialReportBean, String> financialReportDao) {
		this.baseDao = financialReportDao;
		this.financialReportDao = (FinancialReportDao) financialReportDao;
	}
}
